using ECommerce.Web.ViewModels;

namespace ECommerce.Web.NHibernate.Mappings.ViewMappings
{
    public class TopLevelCategoriesViewMap : ViewMap<TopLevelCategoriesView>
    {
        public TopLevelCategoriesViewMap()
        {
            Id(x => x.Id);
            Map(x => x.ParentCategoryId);
            Map(x => x.CategoryName);
        }
    }
}